<template>
    <p>这是son组件</p>
    <slot :sonName="name">son组件的默认值</slot>
    <slot :sonName1="name1">son组件的默认值</slot>
</template>
<script>
 export default{
    data(){
    return{
        name:"Tom",
        name1:"moon",
    }
  }

 }

</script>